5. Retrieving Collection and Service Properties
Properties, related services and locations are obtained from the service or from service resources in the form of an XRD document as defined by XRD-1.0.
Given the URL of a CalWS service a client retrieves the service XRD document through a GET
on the service URL with an ACCEPT
header specifying application/xrd+xml
.
Retrieving resource properties is identical to obtaining service properties, that is, execute a GET
on the target URL with an ACCEPT
header specifying application/xrd+xml
.
The service properties define the global limits and defaults. Any properties defined on collections within the service hierarchy override those service defaults. The service may choose to prevent such overriding of defaults and limits when appropriate.